package Pattern.FactoryPattern.Example;


/**
 * @Author MJS
 * @Date 2021/8/4 10:22
 * @Description
 * 工厂B类 只生成B类产品
 */
public class FactoryB extends Factory{
    public Product Manufacture() {
        return new ProductB();
    }
}
